﻿using PublicClass;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace S.Eartag.Domain.Model
{
    [Table("LamBing")]
    public class LamBing
    {
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 对应出生状态
        /// </summary>
        public StateBirth? StateBirth { get; set; }
        /// <summary>
        /// 对应品种
        /// </summary>
        public Breed? Breed { get; set; }
        /// <summary>
        /// 羊只耳号
        /// </summary>
        /// 
        [StringLength(50)]
        public string? EarNumber { get; set; }
        /// <summary>
        /// 入库日期
        /// </summary>
        public DateTime? StorageDate { get; set; }
        public bool IsDel { get; set; }=false;
        public UseCondition? UseCondition { get; set; }
        /// 创建人
        /// </summary>
        public string? CreateBy { get; set; }

        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime? CreateDate { get; set; }

    }
}
